<template>
  <div>
    <div class="container">
      <div class="header">
        <div class="title">
          <span>个人知识库</span>
          <span class="back" @click="add"> <i class="iconfont icon-fanhui"></i> 创建知识库 </span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'person-knowledge',
  setup() {
    const add = () => {
      console.log(123)
    }
    return {
      add
    }
  }
}
</script>

<style lang="scss" scoped>
.container {
  padding: 0 30px;

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .title {
      height: 59px;
      line-height: 59px;
      color: $parent-title-color;
      font-size: 16px;
      font-weight: 500;
      text-indent: 40px;
      border-bottom: 1px solid #dae1ec;

      .back {
        float: right;
        margin-right: 40px;
        cursor: pointer;
      }
    }
  }

  .pagination {
    display: flex;
    justify-content: flex-end;
    margin: 20px;
  }
}
</style>
